import pyduct.components
import pyduct.commonExtensions
from pyduct.handlers import JsonHandler

class CookieHandler(JsonHandler):
    def __init__(self):
        self.extensionFragmentBuilders += pyduct.commonExtensions.getBuilders()
        self.fieldBuilders += pyduct.components.getBuilders()
        self.hintItemFragmentExtBuilders += pyduct.commonExtensions.getHintBuilders()
        self.hintItemBuilders += pyduct.components.getHintBuilders()
        self.projectEntryFragmentBuilders += pyduct.components.getProjectEntryBuilders()
        self.projectEntryExtensionFragmentBuilders += pyduct.commonExtensions.getProjectEntryBuilders()
